package com.ztsoft.user.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageEntity<T> {
    long size;
    long mount;
    int count;
    List<T> data;

    public PageEntity(int count, List<T> data) {
        this.count = count;
        this.data = data;
    }

}